home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Revista CD Expert 32
/
CD Expert nº 32.iso
/
NBA 2000
/
NBA2000.exe
/
CABFILE
/
IDR_CABFILE
/
Data
/
2DScript
/
navbar
/
NAVBAR.UI
Wrap
Text File
|
1999-06-17
|
15KB
|
661 lines
"2D\Overlays\NavBar"
//********************************
// Data Container
//********************************
DataContainer {
Int "InformationBarTempCurrentScreen" {};
Int "InGameTempNavBarSelection" {};
Int "InGameNavBarSelection" {
RadioGroup "InGameNavBarRadio";
};
Int "InGameNavBarCoachingButtonFlags" {
CheckButton "InGameNavBarCoachButton";
InitialValue 5;
};
Int "MinimizeFlag" {InitialValue 0;};
Int "InGamePlayGameButtonFlags" {
GamepadResumeButton "InGamePlaygameButton";
InitialValue 5;
};
String "InGamePlayGameButtonText" {
GamepadResumeButton "InGamePlaygameButton";
InitialValue "PLAYGAME";
};
};
//********************************
// Fonts
//********************************
Font "InGamePlayGameButtonEnable" {
Filename "plytxte";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 0;
};
Font "InGamePlayGameButtonPushed" {
Filename "plytxtp";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameOptionsButtonEnable" {
Filename "optbute";
Translate " options";
Kerning 0;
};
Font "InGameOptionsButtonDisable" {
Filename "optbutd";
Translate " options";
Kerning 0;
};
Font "InGameOptionsButtonFocus" {
Filename "optbutf";
Translate " options";
Kerning 0;
};
Font "InGameOptionsButtonPush" {
Filename "optbutp";
Translate " options";
Kerning 0;
};
Font "InGameOptionsButtonDisabled" {
Filename "optbutd";
Translate " options";
Kerning 0;
};
Font "InGameNavBarRedArmedFont" {
Filename "rfonta";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarRedFocusFont" {
Filename "rfontf";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarRedPushedFont" {
Filename "rfontp";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarRedEnableFont" {
Filename "rfonte";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarRedPushedFocusFont" {
Filename "rfontpf";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarArmedFont" {
Filename "Font_a";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarEnabledFont" {
Filename "Font_e";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarFocusedFont" {
Filename "Font_f";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarPushedFont" {
Filename "Font_p";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarPushedFocusedFont" {
Filename "Font_pf";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarDisabled" {
Filename "Font_dis";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
Font "InGameNavBarBlankFont" {
Filename "Blankfnt";
Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
Kerning 1;
};
//********************************
// Images
//********************************
Image "IngameOptionsButtonImageEnabled" {
FileName "oe";
};
Image "IngameOptionsButtonImagePushed" {
FileName "Op";
};
Image "IngameOptionsButtonImageDisabled" {
FileName "Od";
};
Image "IngameOptionsButtonImageFocused" {
FileName "Of";
};
Image "IngameQuitButtonImageEnabled" {
FileName "equit";
};
Image "IngameQuitButtonImagePushed" {
FileName "pquit";
};
Image "IngameQuitButtonImageFocused" {
FileName "fquit";
};
Image "IngameQuestionButtonImageEnabled" {
FileName "equest";
};
Image "IngameQuestionButtonImageDisabled" {
FileName "dquest";
};
Image "IngameQuestionButtonImagePushed" {
FileName "pquest";
};
Image "IngameQuestionButtonImageFocused" {
FileName "fquest";
};
Image "IngameMinimizeButtonImageEnabled" {
FileName "emin";
};
Image "IngameMinimizeButtonImagePushed" {
FileName "pmin";
};
Image "IngameMinimizeButtonImageFocused" {
FileName "fmin";
};
Image "InGamePlaygameEnable" {
Filename "playgame";
};
Image "InGamePlaygameFocus" {
Filename "playgmeF";
};
Image "InGamePlaygamePush" {
Filename "playgmeP";
};
Image "InGamePlayGameDummy" {
Filename "InGamePlayGameDummy";
};
Image "InGameNavBarEnd" {
Filename "red_end";
};
Image "InGameNavBarOptionsEnabled" {
Filename "opte";
};
Image "InGameNavBarOptionsArmed" {
Filename "opte";
};
Image "InGameNavBarOptionsFocus" {
Filename "Optf";
};
Image "InGameNavBarOptionsPushed" {
Filename "Optp";
};
Image "InGameNavBarOptionsPushedandArmed" {
Filename "Optpf";
};
Image "InGameNavBarQuitEnabled" {
Filename "ende";
};
Image "InGameNavBarQuitArmed" {
Filename "ende";
};
Image "InGameNavBarQuitFocus" {
Filename "endf";
};
Image "InGameNavBarQuitPushed" {
Filename "endp";
};
Image "InGameNavBarQuitPushedFocus" {
Filename "endpf";
};
Image "InGameNavBarCoachArmed" {
Filename "Coache";
};
Image "InGameNavBarCoachEnabled" {
Filename "Coache";
};
Image "InGameNavBarCoachFocused" {
Filename "Coachf";
};
Image "InGameNavBarCoachPushed" {
Filename "Coachp";
};
Image "InGameNavBarCoachPushedFocused" {
Filename "Coachpf";
};
Image "InGameNavBarUserControlArmed" {
Filename "Usere";
};
Image "InGameNavBarUserControlEnabled" {
Filename "Usere";
};
Image "InGameNavBarUserControlFocused" {
Filename "Userf";
};
Image "InGameNavBarUserControlPushed" {
Filename "Userp";
};
Image "InGameNavBarUserControlPushedFocused" {
Filename "Userpf";
};
Image "Solid" {
Position [0, 455];
Filename "Solid";
};
//********************************
// Styles
//********************************
Style "InGamePlaygameEnable" {
Image "InGamePlaygameEnable";
};
Style "InGameCursorStyle" {
Image "NormalCursor" {
FileName "cursors\cursor1";
Position [-4, -2];
};
Image "HighlightCursor" {
FileName "cursors\cursor2";
Position [-4, -2];
};
};
ButtonStyle "InGameOptionsButtonsStyle" {
Enabled Image "InGameOptionsButtonImageEnabled";
Disabled Image "InGameOptionsButtonImageDisabled";
Pushed Image "InGameOptionsButtonImagePushed";
Focused Image "InGameOptionsButtonImageFocused";
Enabled Font "InGameOptionsButtonEnable";
Focused Font "InGameOptionsButtonFocus";
Pushed Font "InGameOptionsButtonPush";
Disabled Font "InGameOptionsButtonDisabled";
};
ButtonStyle "InGameMinimizeStyle" {
Enabled Image "InGameMinimizeButtonImageEnabled";
Pushed Image "InGameMinimizeButtonImagePushed";
Focused Image "InGameMinimizeButtonImageFocused";
};
ButtonStyle "InGameQuestionStyle" {
Enabled Image "InGameQuestionButtonImageEnabled";
Disabled Image "InGameQuestionButtonImageDisabled";
Pushed Image "InGameQuestionButtonImagePushed";
Focused Image "InGameQuestionButtonImageFocused";
};
ButtonStyle "InGameQuitStyle" {
Enabled Image "InGameQuitButtonImageEnabled";
Pushed Image "InGameQuitButtonImagePushed";
Focused Image "InGameQuitButtonImageFocused";
};
ButtonStyle "InGameNavBarOptionsButton" {
Enabled Image "InGameNavBarOptionsEnabled";
Focused Image "InGameNavBarOptionsFocus";
Pushed Image "InGameNavBarOptionsPushed";
Armed Image "InGameNavBarOptionsArmed" ;
PushedandArmed Image "InGameNavBarOptionsPushedandArmed";
Enabled Font "InGameNavBarEnabledFont";
Pushed Font "InGameNavBarPushedFont";
Focused Font "InGameNavBarFocusedFont";
Armed Font "InGameNavBarArmedFont";
PushedandArmed Font "InGameNavBarPushedFocusedFont";
Disabled Font "InGameNavBarDisabled";
};
ButtonStyle "InGameNavBarQuitButton" {
Enabled Image "InGameNavBarQuitEnabled";
Focused Image "InGameNavBarQuitFocus";
Pushed Image "InGameNavBarQuitPushed";
Armed Image "InGameNavBarQuitArmed" ;
PushedandArmed Image "InGameNavBarQuitPushedFocus";
Enabled Font "InGameNavBarEnabledFont";
Pushed Font "InGameNavBarPushedFont";
Focused Font "InGameNavBarFocusedFont";
Armed Font "InGameNavBarArmedFont";
PushedandArmed Font "InGameNavBarPushedFocusedFont";
};
ButtonStyle "InGameNavBarCoachStyle" {
Enabled Image "InGameNavBarCoachEnabled";
Focused Image "InGameNavBarCoachFocused";
Pushed Image "InGameNavBarCoachPushed";
Armed Image "InGameNavBarCoachArmed";
PushedandArmed Image "InGameNavBarCoachPushedFocused";
Enabled Font "InGameNavBarEnabledFont";
Pushed Font "InGameNavBarPushedFont";
Focused Font "InGameNavBarFocusedFont";
Armed Font "InGameNavBarArmedFont";
PushedandArmed Font "InGameNavBarPushedFocusedFont";
Disabled Font "InGameNavBarDisabled";
};
ButtonStyle "InGameNavBarUserControlStyle" {
Enabled Image "InGameNavBarUserControlEnabled";
Focused Image "InGameNavBarUserControlFocused";
Pushed Image "InGameNavBarUserControlPushed";
Armed Image "InGameNavBarUserControlArmed";
PushedandArmed Image "InGameNavBarUserControlPushedFocused";
Enabled Font "InGameNavBarEnabledFont";
Pushed Font "InGameNavBarPushedFont";
Focused Font "InGameNavBarFocusedFont";
Armed Font "InGameNavBarArmedFont";
PushedandArmed Font "InGameNavBarPushedFocusedFont";
};
ButtonStyle "InGamePlaygameButton" {
Enabled Image "InGamePlaygameEnable";
Focused Image "InGamePlaygameFocus";
Pushed Image "InGamePlaygamePush";
Disabled Image "InGamePlayGameDummy";
Enabled Font "InGamePlayGameButtonEnable";
Pushed Font "InGamePlayGameButtonPushed";
Focused Font "InGamePlayGameButtonEnable";
};
GroupStyle "InGameNavBarSolidStyle" {
Image "Solid";
};
Style "InGameNavBarEnd" {
Image "InGameNavBarEnd";
};
Style "InGameNavBarSolidButtonStyle" {
Font "InGameNavBarBlankFont";
};
//********************************
// Cursors
//********************************
Cursor "InGameCursor" {
Style "InGameCursorStyle";
Hotspot [0, 0];
Position [320, 240];
};
//********************************
// Buttons
//********************************
Button "InGameMinimizeButton" {
ButtonStyle "InGameMinimizeStyle";
// Position [602, 3];
TopRight Position [-38, 3];
Clicked Action {SetData "MinimizeFlag" 1;};
};
Button "InGameQuestionButton" {
ButtonStyle "InGameQuestionStyle";
// Position [584, 3];
TopRight Position [-56, 3];
Disabled;
};
Button "InGameQuitButton" {
ButtonStyle "InGameQuitStyle";
// Position [620, 3];
TopRight Position [-20, 3];
DefaultCancel;
DefaultQuit;
//Store the current nav bar setting.
Clicked Action {
SetData "InGameTempNavBarSelection" LinkTo "InGameNavBarSelection";
};
Clicked Action {
SetData "InformationBarTempCurrentScreen" LinkTo "InformationBarCurrentScreen";
};
//Set it to the dummy group item (no background stuff).
Clicked Action {
SetData "InGameNavBarSelection" 3;
};
Clicked Action {
Popup Group Global "GeneralMessageBox";
};
Clicked Action {
AddOKAction Action {
SetData "PauseQuit" 4;
};
};
Clicked Action {
AddOKAction Action StoreOptions;
};
Clicked Action {
AddOKAction Post Action {
QuitOK;
};
};
//Add Cancel actions which set the nav bar back.
Clicked Action {
AddCancelAction Post Action {
SetData "InGameNavBarSelection" LinkTo "InGameTempNavBarSelection";
};
};
Clicked Action {
AddCancelAction Post Action {
SetData "InformationBarCurrentScreen" LinkTo "InformationBarTempCurrentScreen";
};
};
};
Button "InGameNewOptionsButton" {
ButtonStyle "InGameOptionsButtonsStyle";
// Position [532, 3];
TopRight Position [-108, 3];
Disabled;
String "options" {
Justify CenterCenter;
Position [25, 7];
};
};
CheckButton "InGameNavBarUserControlButton" {
// Position [106, 447];
BottomLeft Position [106, -33];
ButtonStyle "InGameNavBarUserControlStyle";
String "USERCONTROL" {
Justify CenterCenter;
Position [48, 25];
};
Armed Action {SetData "CurrInGameContextHelpID" "InGame_Controls_Menu";};
};
CheckButton "InGameNavBarCoachButton" {
// Position [0, 447];
BottomLeft Position [0, -33];
ButtonStyle "InGameNavBarCoachStyle";
String "COACHING" {
Justify CenterCenter;
Position [61, 25];
};
Armed Action {SetData "CurrInGameContextHelpID" "InGame_Coaching_Menu";};
};
CheckButton "InGameNavBarInformationButton" {
// Position [199, 447];
BottomLeft Position [199, -33];
ButtonStyle "InGameNavBarOptionsButton";
String "INFORMATION" {
Justify CenterCenter;
Position [48, 25];
};
Armed Action {SetData "CurrInGameContextHelpID" "InGame_Menu";};
};
GamepadResumeButton "InGamePlaygameButton" {
// Position [528, 440];
BottomRight Position [-112, -40];
ButtonStyle "InGamePlaygameButton";
String "PLAYGAME" {
Justify CenterCenter;
Position [51, 19];
};
OK;
Default;
Clicked Action {SetData "PauseQuit" 2;};
};
CheckButton "InGameNavBarQuitButton"{
// Position [292, 447];
BottomLeft Position [292, -33];
ButtonStyle "InGameNavBarQuitButton";
String "quit" {
Justify CenterCenter;
Position [51, 25];
};
Clicked Action {
SetData "InGameTempNavBarSelection" LinkTo "InGameNavBarSelection";
};
Clicked Action {
Popup Group Global "GeneralMessageBox";
};
Clicked Action {
AddOKAction Action {
SetData "PauseQuit" 1;
};
};
Clicked Action {
AddOKAction Post Action StoreOptions;
};
Clicked Action {
AddOKAction Post Action {
QuitOK;
};
};
Clicked Action {
AddCancelAction Post Action {
SetData "InGameNavBarSelection" LinkTo "InGameTempNavBarSelection";
};
};
};
CheckButton "InGameNavBarOptionsButton"{
Position [292, 447];
ButtonStyle "InGameNavBarOptionsButton";
String "options" {
Justify CenterCenter;
Position [49, 25];
};
};
//********************************
// Edit Boxes
//********************************
EditBox "InGameNavBarSolidButton" {
Style "InGameNavBarSolidButtonStyle";
Position [0, 465];
Size [330, 20];
String "STARTUP TEAMSELECT SPORTSPAGES" {
Justify CenterCenter;
Position [165, 10];
};
};
//********************************
// Groups
//********************************
Group Global "InGameNavBarGroup" {
Root;
Position [0, 0];
// GroupStyle "InGameNavBarSolidStyle";
Children {
MenuGroup "InGameNavBarMenu";
// Group "InGamePlaygamebutton";
GamepadResumeButton "InGamePlaygameButton";
Button "InGameNewOptionsButton";
Button "InGameQuestionButton";
Button "InGameMinimizeButton";
Button "InGameQuitButton";
};
Activate Action {SetData "InGameNavBarSelection" 0;};
};
MenuGroup "InGameNavBarMenu" {
Children {
Include "2DScript\infobar";
Include "UIScript\InGame\Coaching";
Include "UIScript\InGame\UserCont";
RadioGroup "InGameNavBarRadio";
Group "dummygroup";
};
};
RadioGroup "InGameNavBarRadio" {
Children {
CheckButton "InGameNavBarInformationButton";
CheckButton "InGameNavBarCoachButton";
CheckButton "InGameNavBarUserControlButton";
// CheckButton "InGameNavBarOptionsButton";
CheckButton "InGameNavBarQuitButton";
};
};
Group "InGameNavBarEnd" {
Style "InGameNavBarEnd";
position [305, 455];
};
//Group "InGamePlaygamebutton" {
// Style "IngamePlaygameEnable";
// position [525, 434];
//};
Group Global "GeneralMessageBox" {
CenterCenter Position [-320, -240];
Children {
Include "UIScript\popup";
};
};
Group Global "MvpParent" {
CenterCenter Position [-320, -240];
Children {
Include "2dScript\mvp";
};
};